#order {
  background-color: #fafafa;
}

#order .tab {
  height: 100rpx;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 50rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#order .tab .item {
  height: 100rpx;
  display: inline-block;
  font-size: 28rpx;
  white-space: nowrap;
  position: relative;
  text-align: center;
  line-height: 100rpx;
  transition: color 0.3s;
}

#order .tab .item::after {
  content: '';
  display: block;
  width: 40rpx;
  height: 4rpx;
  border-radius: 2rpx;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -20rpx;
  transition: all 0.3s;
}

#order .tab .item.active {
  color: #000;
}

#order .tab .item.active::after {
  background-color: #000;
}

#order .tab-h {
  width: 100%;
  height: 100rpx;
}

#order .list {
  width: 100%;
  box-sizing: border-box;
  padding: 24rpx 30rpx;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

#order .list .item {
  margin-top: 20rpx;
  padding: 0 32rpx;
  background-color: #fff;
  border-radius: 20rpx;
}

#order .list .item .tops {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80rpx;
  font-size: 24rpx;
  border-bottom: 1px solid #E6E6E6;
}

#order .list .item .tops text {
  color: #F65C28;
}

#order .list .item .order-goods-item {
  padding: 30rpx 0;
}

#order .list .item .order-goods-item .img {
  width: 120rpx;
  height: 120rpx;
  border-radius: 20rpx;
}

#order .list .item .order-goods-item .texts {
  flex-grow: 1;
  width: 0;
  height: 120rpx;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#order .list .item .order-goods-item .texts .title {
  font-size: 28rpx;
  line-height: 38rpx;
  height: auto;
  margin-top: 12rpx;
}

#order .list .item .order-goods-item .texts .bot {
  margin-bottom: 12rpx;
  margin-top: 0;
}

#order .list .item .order-goods-item .texts .bot .num {
  font-size: 24rpx;
  color: #666666;
}

#order .list .item .order-goods-item .texts .bot .price {
  font-size: 24rpx;
  color: #e5373b;
  font-weight: bold;
}

#order .list .item .order-goods-item .texts .bot .price .bold {
  font-size: 32rpx;
}

#order .list .item .order-goods-item .texts .bot .price .normal {
  font-weight: normal;
  font-size: 24rpx;
  color: #333333;
}

#order .list .item .notice {
  width: 100%;
  padding: 20rpx 26rpx;
  margin-top: 20rpx;
  display: flex;
  color: #000;
  font-size: 24rpx;
  background-color: #fafafa;
}

#order .list .item .notice .label {
  white-space: nowrap;
  color: #e5373b;
  margin-right: 10rpx;
}

#order .list .item .count {
  text-align: right;
  padding-top: 30rpx;
  padding-bottom: 30rpx;
  border-top: 1px solid #E6E6E6;
  font-size: 24rpx;
  color: #999999;
  line-height: 1;
}

#order .list .item .count text {
  font-weight: bold;
  color: #DD423F;
}

#order .list .item .count .bold {
  font-size: 32rpx;
}

#order .list .item .bots {
  width: 100%;
  padding-bottom: 30rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#order .list .item .bots .more {
  flex-shrink: 0;
}

#order .list .item .bots .more text {
  font-size: 32rpx;
}

#order .list .item .bots .fun {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

#order .list .item .bots .fun button {
  margin-left: 20rpx !important;
}

#order .list .item .bots .fun .text {
  width: auto !important;
  font-size: 24rpx;
  color: #666;
  margin-left: 16rpx;
}

#order .list .item .bots .fun .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 166rpx !important;
  height: 60rpx;
  line-height: 60rpx;
  border-radius: 10rpx;
  font-size: 24rpx;
  border: 1px solid #F65C28;
  margin-left: 16rpx !important;
}

#order .list .item .bots .fun .btn.red {
  border-color: #F65C28;
  color: #F65C28;
}

#order .mask {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background-color: rgba(0, 0, 0, 0.5);
}

#order .addr-select {
  width: 100%;
  height: 740rpx;
  background-color: #fff;
  border-radius: 16rpx 16rpx 0 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 0 32rpx;
  transform: translateY(100%);
  transition: all 0.3s;
}

#order .addr-select .tops {
  width: 100%;
  height: 112rpx;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#order .addr-select .tops .add {
  color: #e5373b;
}

#order .addr-select .tops .title {
  font-size: 32rpx;
  color: #000;
}

#order .addr-select .tops .confirm {
  color: #000;
}

#order .addr-select .addr-list {
  width: 100%;
  height: 628rpx;
  overflow-y: auto;
}

#order .addr-select .addr-list .item {
  width: 100%;
  height: 156rpx;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#order .addr-select .addr-list .item .left {
  width: 570rpx;
}

#order .addr-select .addr-list .item .left .name view {
  display: inline-block;
}

#order .addr-select .addr-list .item .left .name text {
  font-size: 24rpx;
  color: #666;
  margin-left: 10rpx;
}

#order .addr-select .addr-list .item .left .addr {
  margin-top: 5rpx;
}

#order .addr-select.open {
  transform: translateY(0);
}
